package com.hxy.dao;

import com.hxy.pojo.Business;
import com.hxy.pojo.vo.BusinessVo;

import java.util.List;

public interface BusinessMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BusinessVo record);

    Business selectByPrimaryKey(Integer id);

    List<Business> selectAll();

    List<BusinessVo> selectAllBusinessVo(BusinessVo business);

    int updateByPrimaryKey(BusinessVo record);

    List<Business> selectByBranchId(Integer id);

    int updateBranchIdById(Integer id);

    BusinessVo selectInfoByBusines(Integer id);

}